<Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="@true">
    <Found Context="routeData">
        <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)"/>
    </Found>
    <NotFound>
        <LayoutView>
            <AntDesign.Pro.Template.Pages.Exception._404></AntDesign.Pro.Template.Pages.Exception._404>
        </LayoutView>
    </NotFound>
</Router>

<AntContainer /> 